home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
monkey_t.swf
/
scripts
/
frame_405
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
2KB
|
59 lines
function player(turn, turned, move, move2, accel, accelplus, accelrev, status1, status2, keyright, keyleft, keyforward, keybackward, bounce, stopbounce)
{
this.turn = turn;
this.turned = turned;
this.move = move;
this.move2 = move2;
this.accel = accel;
this.accelplus = accelplus;
this.accelrev = accelrev;
this.status1 = status1;
this.status2 = status2;
this.keyright = keyright;
this.keyleft = keyleft;
this.keyforward = keyforward;
this.keybackward = keybackward;
this.bounce = bounce;
this.stopbounce = stopbounce;
}
function point(x, y)
{
this.x = x;
this.y = y;
}
function pointTarget(pos, x, y, screen, picked)
{
this.pos = pos;
this.x = x;
this.y = y;
this.screen = screen;
this.picked = picked;
}
function pointCross(x, y, dir)
{
this.x = x;
this.y = y;
this.dir = dir;
}
function pointAlienStart(x, y, initDir)
{
this.x = x;
this.y = y;
this.initDir = initDir;
}
gotoAndStop("start");
pickupSound = new Sound(pickupSoundMC);
alienSound = new Sound(alienSoundMC);
explosionSound = new Sound(explosionSoundMC);
musicSound = new Sound(musicMC);
wellDoneSound = new Sound(wellDoneMC);
pickupSound.attachSound("pickupSND");
alienSound.attachSound("sirenStartSND");
explosionSound.attachSound("skidSND");
musicSound.attachSound("musicSND");
wellDoneSound.attachSound("wellDoneSND");
mcHST.loadMovie("MonkeyTaxi_HST.swf");
_root.attachMovie("mcPepsiLogo","mcPepsiLogo",99999);
mcPepsiLogo._x = 604;
mcPepsiLogo._y = 494;